package com.vhall.component.entity.subject.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * 专题会议的列表请求vo类
 *
 * @author jian.yang
 */
@Data
public class SubjectListReqVo implements Serializable {

    private static final long serialVersionUID = 2554683810392605464L;
    /**
     * 关键字
     */
    @ParamName("keyword")
    private String keyword;

    /**
     * 页码
     */
    @ParamName("page")
    @Min(value = 1, message = "page参数不允许小于1！")
    private Integer page = 1;

    /**
     * 每页数量
     */
    @ParamName("page_size")
    @Min(value = 1, message = "page_size参数不允许小于1！")
    private Integer pageSize = 10;

    private Integer accountId;
}
